
<%@page import="org.biojava.dasobert.dasregistry.DasCoordinateSystem"%><jsp:useBean id="register" class="dasregistry.registryBean"	scope="page" />
<jsp:directive.page import="org.biojava.dasobert.dasregistry.DasCoordSysComparator" />
<jsp:directive.page import="java.util.Comparator" />
		<select  size="10" style="width: 30em;">
			<%
			String startOfName=request.getParameter("startOfName");
	DasCoordinateSystem availableCoords[] = register.getCoordsByName(startOfName);
	Comparator dsc = DasCoordSysComparator.fromString("name");
	java.util.Arrays.sort(availableCoords,dsc);
	
	 for ( int i =0; i< availableCoords.length; i++ ) {
	   %>
			<option value="<%=availableCoords[i]%>"><%=availableCoords[i]%></option> <%
	   }
	%>
		</select>